﻿using System;

namespace SpiderMonkey
{
    [Flags]
    public enum Report
    {
        /// <summary>
        /// Pseudo-flag for default case
        /// </summary>
        Error = 0,
        /// <summary>
        /// Reported via JS_ReportWarning
        /// </summary>
        Warning = 1,
        /// <summary>
        /// Exception was thrown
        /// </summary>
        Exception = 2,
        /// <summary>
        /// Error or warning due to strict option
        /// </summary>
        Strict = 4,
    }
}